{header}
<script language="JavaScript" src="js/common.js"></script>

<form action="feedback.php?action=view" method="get" name="form" id="form">
    <table width="100%"  border="0" cellpadding="3" cellspacing="1" class="tableOutborder">
        <tr class="tableHeader">
            <td colspan="11">招聘列表</td>
        </tr>
        <tr class="bg_0">
            <td nowrap="nowrap">主题</td>
            <td  nowrap="nowrap"><input name="title" type="text" id="title" value="{title}" size="20" maxlength="30" /></td>
            <td  nowrap="nowrap">客户姓名</td>
            <td  nowrap="nowrap"><input name="customname" type="text" id="customname" value="{customname}" size="20" maxlength="30" /></td>
            <td  nowrap="nowrap">时间</td>
            <td  nowrap="nowrap"><input name="add_time" type="text" id="add_time" value="{add_time}" /></td>
            <td  nowrap="nowrap">状态</td>
            <td  nowrap="nowrap"><select name="replay"><option value="">全部</option> <option value="0">未回复</option><option value="1">已回复</option> </select> </td>
            <td  nowrap="nowrap">问题类型</td>
            <td  nowrap="nowrap">{selecttreelist}</td>
            <td width="12%"><input name="action" type="hidden" id="action" value="view" />
                <input type="submit" name="Submit" value=" 查询 " accesskey="s" /></td>
        </tr>
    </table>
</form>
<!-- IF results -->
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="pageNav">
  <tr>
    <td>共 <strong>{total}</strong>, 显示 <strong>{from} - {to}</strong></td>
    <td align="right">{pagenav}</td>
  </tr>
</table>
<table width="100%"  border="0" cellspacing="1" cellpadding="3" class="tableOutborder">
  <tr class="tableHeader">
    <td width="3%">id#</td>
    <td width="20%">主题</td>
    <td width="20%">客户姓名</td>
    <td>电话</td>
    <td>E-mail</td>
    <td>QQ</td>
    <td>分类</td>
    <td>状态</td>
    <td>时间</td>
    <td align="center">添加人</td>
    <td width="8%" align="center">&nbsp;</td>
  </tr>
  <!-- BEGIN results -->
  <tr class="bg_{ROWBIT}">
    <td align="center"><input type="checkbox" name="idnames" value="{id}"></td>
    <td>{title}</td>
    <td>{customname}</td>
    <td align="center" nowrap>{tel}</td>
    <td align="center" nowrap>{email}</td>
    <td align="center" nowrap>{qq}</td>
    <td align="center" nowrap >{cate}</td>
    <td align="center" nowrap><!-- IF reply=="1" --><span style="color: blue;">已回复</span><!-- ELSE --><span style="color: red;">未回复</span><!-- ENDIF --></td>
    <td align="center" nowrap >{add_time}</td>
    <td align="center" nowrap>{operator}</td>
    <td align="center" nowrap><a href="feedback.php?action=status&id={id}">设为已回复</a> <a href="javascript:confirm_redirect('feedback.php?action=remove&id={id}','确实要删除该记录吗?？');">删除</a></td>
  </tr>
  <!-- END -->
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="pageNav">
  <tr>
    <td>共 <strong>{total}</strong>, 显示 <strong>{from} - {to}</strong></td>
    <td align="right">{pagenav}</td>
  </tr>
</table>
<!-- ELSE -->
<br />

没找到任何相匹配的结果!
<!-- ENDIF -->
<script type="text/javascript">
    function ajax_request_page(url){
        $.ajax({
            url:url,
            methods:"POST",
            dataType:"json",
            success:function(data){
                //console.log(data)
                if(data.result==0){
                    alert(data.msg);
                    location.reload();
                }else{
                    alert(data.msg);
                }
            },
            error:function(){
                alert("啊哦,请求失败");
            }
        })
    }

</script>
{footer}
